
import request from '@/utils/request'
//获取用户信息
export function getUserInfo() {
	return request({
		method: 'POST',
		url: `/xf-api/xf-linggong/jjp/often/XfJjpSysUserLingGong/queryByIdXfUserIdTwo`
		
	})
}
//编辑用户信息
export function editUserInfo(data) {
	return request({
		method: 'POST',
		url: `/xf-api/xf-linggong/jjp/often/XfJjpSysUserLingGong/queryByIdXfUserIdEdit`,
		data
	})
}
//实名认证
export function authenticationPerson(data) {
	return request({
		method: 'POST',
		url: `/xf-api/xf-linggong//jjp/often/XfJjpSysUserLingGong/addaAuthentication`,
		data
	})
}
//我的积分
export function getGrade(data) {
	return request({
		method: 'POST',
		url: `/xf-api/xf-linggong/jjp/xfJjpOddjobCredit/queryByCredit`,
		data
	})
}
//我的等级
export function getLevel() {
	return request({
		method: 'POST',
		url: `/xf-api/xf-linggong/jjp/often/XfJjpSysUserLingGong/queryByLevel`
		
	})
}
//用户协议，隐私协议
export function getXy(data) {
	return request({
		method: 'POST',
		url: `/xf-api/xf-linggong/jjpoddjob/licensefree/getAgreement`,
		data
		
	})
}
//我的报名
export function getMybm(data) {
	return request({
		method: 'POST',
		url: `/xf-api/xf-linggong/jjp/xfJjpOddjobUser/querylistByLoginbIdTwo`,
		data,
		options:{
			load:false
		}
		
	})
}
//我的收藏
export function myFavorLis(data) {
	return request({
		method: 'POST',
		url: `/xf-api/xf-linggong/jjp/xfJjpOddjobCollection/listTwo`,
		data,
		options:{
			load:false
		}
		
	})
}
// 收藏接口
export function favorOpt(data) {
	return request({
		method: 'POST',
		url: `/xf-api/xf-linggong/jjp/xfJjpOddjobCollection/SaveCollection`,
		data
		
	})
}
//取消收藏接口
export function cancelFavor(data) {
	return request({
		method: 'POST',
		url: `/xf-api/xf-linggong/jjp/xfJjpOddjobCollection/cancelCollection`,
		data
		
	})
}


//我的首页-灵工
export function myHomeOdd(data) {
	return request({
		method: 'POST',
		url: `/xf-api/xf-linggong/jjp/xfJjpOddjobUser/queryInfoByLoginId`,
		data
		
	})
}
//灵工查看更多接口
export function oddMore(data) {
	return request({
		method: 'POST',
		url: `/xf-api/xf-linggong/jjp/xfJjpOddjobUser/querylistByLoginbId`,
		data,
		options:{
			load:false
		}
		
	})
}

//查看灵工详情接口
export function myJobDetail(data) {
	return request({
		method: 'POST',
		url: `/xf-api/xf-linggong/jjp/xfJjpOddjobInfo/queryByIdDetails`,
		data
		
	})
}
//推荐职位列表
export function recommendJob(data) {
	return request({
		method: 'POST',
		url: `/xf-api/xf-linggong/jjp/xfJjpOddjobSuggest/listSuggests`,
		data,
		options:{
			load:false
		}
		
	})
}
//校验开工码
export function workCode(data) {
	return request({
		method: 'POST',
		url: `/xf-api/xf-linggong/jjp/xfJjpOddjobInfo/verificationCode`,
		data
		
	})
}
//上传凭证
export function upLoadpz(data) {
	return request({
		method: 'POST',
		url: `/xf-api/xf-linggong/jjp/xfJjpOddjobProcess/saveProcess`,
		data
		
	})
}
// 已到岗完工上传凭证
export function finishUpLoadpz(data) {
	return request({
		method: 'POST',
		url: `/xf-api/xf-linggong/jjp/xfJjpOddjobProcess/finishSaveProcess`,
		data
		
	})
}
//评价接口
export function commentForm(data) {
	return request({
		method: 'POST',
		url: `/xf-api/xf-linggong/jjp/xfJjpOddjobEvaluation/addvaluation`,
		data
		
	})

}
//我的评价
export function myCommentLis(data) {
	return request({
		method: 'POST',
		url: `/xf-api/xf-linggong/jjp/xfJjpOddjobEvaluation/queryEvaListByLoginId`,
		data,
		options:{
			load:false
		}
		
	})

}
//评价我的
export function commentMyLis(data) {
	return request({
		method: 'POST',
		url: `/xf-api/xf-linggong/jjp/xfJjpOddjobEvaluation/queryEvaListByOddUserId`,
		data,
		options:{
			load:false
		}
		
	})

}
//提交申诉

export function submitSsForm(data) {
	return request({
		method: 'POST',
		url: `/xf-api/xf-linggong/jjp/xfJjpOddjobComplaints/SaveComplaints`,
		data
		
	})

}
//获取申诉接口

export function getSsLis(data) {
	return request({
		method: 'POST',
		url: `/xf-api/xf-linggong/jjp/xfJjpOddjobComplaints/queryComplaintsByLoginId`,
		data,
		options:{
			load:false
		}
		
	})

}

//取消申诉
export function cancelSs(data) {
	return request({
		method: 'POST',
		url: `/xf-api/xf-linggong/jjp/xfJjpOddjobComplaints/cancelComplaints`,
		data
		
	})
}
//申诉详情
export function ssDetail(data) {
	return request({
		method: 'POST',
		url: `/xf-api/xf-linggong/jjp/xfJjpOddjobComplaints/queryComplaintsDetailsById`,
		data
		
	})
}

//用工需求存储
export function needJobForm(data) {
	return request({
		method: 'POST',
		url: `/xf-api/xf-linggong/jjpoddjob/licensefree/employmentDemand/addEmploymentDemand`,
		data
		
	})
}
//获取通知广告
export function getNoticeLis(data) {
	return request({
		method: 'POST',
		url: `/xf-api/xf-linggong/jjp/xfJjpOddjobBroadcast/queryByList`
	})
}
//流程详情
export function workFlowDetail(data) {
	return request({
		method: 'POST',
		url: `/xf-api/xf-linggong/jjp/xfJjpOddjobProcess/MyProcessList`,
		data
	})
}
//评价常用语言
export function getCommonetLis(data) {
	return request({
		method: 'POST',
		url: `/xf-api/xf-linggong/jjp/xfJjpOddjobEvaluation/queryByCommonEvaluationTerms`,
		data
	})
}
//查看用户实名认证信息
export function lookRzInfo(data) {
	return request({
		method: 'POST',
		url: `/xf-api/xf-linggong/jjp/xfJjpOddjobUser/queryMyAuthInfo`,
		data
	})
}